
import request from "../utils/request.js"
//获取所有套餐
export const getall =()=>{
    return request.get('/meal/getAllMeal')
}

//修改套餐
export const updateone=(data)=>{
    return request.post("/meal/updateMeal",{data})
}

//添加套餐
export const addone=(data)=>{
    return request.post("/meal/addMeal",{data})
}

//删除套餐
export const delone=(data)=>{
    return request.post('/meal/delMeal',{data})
}